package com.baidu.cmsCommes.pojo;

import lombok.Data;

/**
 * @Author: BSS
 * @create: 2020/6/22/9:37
 */
@Data
public class Channel {
    private Integer id;
    private Integer custom_link;
    private String custom_link_url;
    private Integer is_index;
    private Integer is_top_nav;
    private String name;
    private Integer orders;
    private Integer recommend;
    private Integer status;
    private ChannelType type;
    private Integer pid;
    private Integer show_index;

    public Channel() {
    }

    public Channel(Integer id, Integer custom_link, String custom_link_url, Integer is_index, Integer is_top_nav, String name, Integer orders, Integer recommend, Integer status, ChannelType type, Integer pid, Integer show_index) {
        this.id = id;
        this.custom_link = custom_link;
        this.custom_link_url = custom_link_url;
        this.is_index = is_index;
        this.is_top_nav = is_top_nav;
        this.name = name;
        this.orders = orders;
        this.recommend = recommend;
        this.status = status;
        this.type = type;
        this.pid = pid;
        this.show_index = show_index;
    }

    public Integer getCustomLink(){
        return custom_link;
    }

    public String getCustomLinkUrl(){
        return custom_link_url;
    }

    public Integer getIsIndex(){
        return is_index;
    }

    public Integer getIsTopNav(){
        return is_top_nav;
    }

}
